#ifndef LAYERPROPERTIESDIALOG_H
#define LAYERPROPERTIESDIALOG_H

#include <QDialog>
#include <QtWidgets>
#include "Layer.h"

class LayerPropertiesDialog : public QDialog
{
    Q_OBJECT
public:
    explicit LayerPropertiesDialog(QListWidgetItem *, QAbstractItemModel *, double a_base, QWidget * parent = 0);

signals:

public slots:
    void populate();

private:
    QLineEdit* name_LE;
    QLineEdit* x_LE;
    QLineEdit* d_LE;

    QComboBox * alloysCB;

    QPushButton * execute_button;
    QPushButton * cancel_button;

    QAbstractItemModel* m_list;
    QListWidgetItem* m_item;
    double m_a;

};

#endif // LAYERPROPERTIESDIALOG_H
